package cn.liyicun.school.car2.controller.driver;

import com.jfinal.config.Routes;

import cn.liyicun.school.car2.interceptor.DriverLoginInterceptor;

public class DriverRoutes extends Routes {

	@Override
	public void config() {
		setBaseViewPath("/_view/driver");
		addInterceptor(new DriverLoginInterceptor());
		add("/driver", DriverController.class);
		add("/driverOrder", DriverOrderController.class);
		
	}

}
